package com.fuchenyang.sentinel.consumer.service.impl;

import com.fuchenyang.common.util.JsonResult;
import com.fuchenyang.sentinel.consumer.feign.ProviderFeign;
import com.fuchenyang.sentinel.consumer.service.ConsumerService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class ConsumerServiceImpl implements ConsumerService {

    @Resource
    private ProviderFeign providerFeign;

    @Override
    public JsonResult a() {
        return providerFeign.a();
    }

    @Override
    public JsonResult b() {
        return providerFeign.b();
    }
}
